package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (WeightUnit)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:32:17
 */
@ApiModel(value = "重量单位实体类")
public class WeightUnit implements Serializable {
    private static final long serialVersionUID = -76108753776253732L;
    /**
     * 重量单位编号
     */
    @ApiModelProperty(name = "weightUnitId",notes = "重量单位编号",value = "重量单位编号")
    private Integer weightUnitId;
    /**
     * 重量单位名称
     */
    @ApiModelProperty(name = "weightUnitName",notes = "重量单位名称",value = "重量单位名称",required = true)
    private String weightUnitName;
    /**
     * 重量设置状态码（1：正常，0：删除）
     * @return
     */
    @ApiModelProperty(name = "weightUnitState",notes = "重量设置状态码（1：正常，0：删除）",value = "重量设置状态码（1：正常，0：删除）")
    private int weightUnitState;


    public Integer getWeightUnitId() {
        return weightUnitId;
    }

    public void setWeightUnitId(Integer weightUnitId) {
        this.weightUnitId = weightUnitId;
    }

    public String getWeightUnitName() {
        return weightUnitName;
    }

    public void setWeightUnitName(String weightUnitName) {
        this.weightUnitName = weightUnitName;
    }

    public int getWeightUnitState() {
        return weightUnitState;
    }

    public void setWeightUnitState(int weightUnitState) {
        this.weightUnitState = weightUnitState;
    }

    @Override
    public String toString() {
        return "WeightUnit{" +
                "weightUnitId=" + weightUnitId +
                ", weightUnitName='" + weightUnitName + '\'' +
                '}';
    }
}